package sk.tuke.client.view;

import com.google.gwt.core.client.GWT;
import com.smartgwt.client.widgets.Canvas;
import com.smartgwt.client.widgets.layout.HLayout;
import com.smartgwt.client.widgets.layout.VLayout;
import sk.tuke.client.interfaces.LayoutFactory;

public class DashboardView extends VLayout {

	public DashboardView() {
		super();

		GWT.log("init DashboardView()...", null);

		// initialise the Accounts View layout container
		this.addStyleName("crm-ContextArea");
		this.setWidth("*");

		// add the List Grid to the Accounts View layout container
		HLayout a = new HLayout();
		a.setContents("DashboardList");
		this.addMember(a);
	}

	public static class Factory implements LayoutFactory {

		public Canvas create() {
			return new DashboardView();
		}
	}
}
